import React from 'react'
import Button from '../Button'
import { View } from '@tarojs/components'
import './index.scss'
const FixedBtn = (props) => {
    const { btnText = '提交', children } = props
    return <View className='FixedBtn_bottom_box'>
        <View className='FixedBtn_box'>

            <View className='FixedBtn_btn_box'>
                {children ? children : <Button {...props}>
                    {btnText}
                </Button>
                }

            </View>
        </View>
    </View>
}
export default FixedBtn